import * as PIXI from 'pixi.js'
import atk from './atk'
import hp from './hp'
import name from './name'
import consume from './consume'
import ability from './ability'
export default async (): Promise<PIXI.Container<PIXI.ContainerChild>> => {
  const container = new PIXI.Container()
  const atkContainer = atk()
  const hpContainer = hp()
  const nameContainer = name()
  const consumeContainer = consume()
  const abilityContainer = await ability()
  container.addChild(atkContainer, hpContainer, nameContainer, consumeContainer, abilityContainer)
  return container
}
